// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
//使用 mint-ui
import Mint from 'mint-ui';
import 'mint-ui/lib/style.css'

//基础样式
import './assets/css/global.css'
//使用axios
import Axios from 'axios'
Vue.use(Mint);

Vue.config.productionTip = false;
//配置公共url
Axios.defaults.baseURL='http://www.sinya.online/api/'
//配置axios
Vue.prototype.$axios=Axios;

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
